Attachment

constructor(data: <Error class: unknown class>, mimeType: String, fileName: String)

Parameters

data

NSData to add to the email

mimeType

Mime type of the file

fileName

File name of the file